package com.wan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author vicente
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class GameFriend extends Model<GameFriend> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer friendId;

    private String friendName;

    private Integer friendLevel;

    private String friendRank;

    private String friendAreaName;

    private String friendImg;

    private Date createTime;

    private String friendSign;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
